package com.csylh.entity;

import com.csylh.enums.OrderStatus;
import com.csylh.enums.PayStatus;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by 留歌
 * Date: 2018/3/13 0:01
 * Description:
 */
@Data
public class OrderMaster {

    private String orderId;

    private int userId;

    private String userName;

    private String userPhone;

    private String userAddress;

    private int clerkId;

    private String clerkName;

    private String clerkPhone;

    private BigDecimal orderAmount;

    private String orderIcon;

    private String orderDescription;

    //订单状态 1-新订单 2-已完成 3-已取消
    private int orderStatus = OrderStatus.NEW.getCode();

    //支付状态 1-未支付 2-已支付
    private int payStatus = PayStatus.WAIT.getCode();

    private Date createTime;

    private Date updateTime;

}
